export const API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_GET = '/waterquality/admin/water/section/info/detail/get'
export const API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_DELETE = '/waterquality/admin/water/section/info/detail/delete'
export const API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_CREATE = '/waterquality/admin/water/section/info/detail/create'
export const API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_UPDATE = '/waterquality/admin/water/section/info/detail/update'
export const API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_LIST = '/waterquality/admin/water/section/info/detail/list'

import { request } from '@/utils/request';

export function getInfo(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_GET,
    data,
  });
}

export function doDelete(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_DELETE,
    data,
  });
}

export function doUpdate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_UPDATE,
    data,
  });
}

export function doCreate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_CREATE,
    data,
  });
}

export function getList(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_WATER_SECTION_INFO_DETAIL_LIST,
    data,
  });
}
